//
//  RecipeCollectionheaderView.m
//  project-A (pianke)
//
//  Created by dllo on 16/2/28.
//  Copyright © 2016年 scott. All rights reserved.
//

#import "RecipeCollectionheaderView.h"
#import <DKNightVersion.h>
@implementation RecipeCollectionheaderView

-(void)dealloc{

    [_view release];
    [_label release];
    [super dealloc];
    
}

-(instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    
    if (self) {
                
        
        self.label = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, frame.size.width, frame.size.height)];
        
        [self addSubview:self.label];
        
        self.label.backgroundColor = [UIColor whiteColor];
        self.label.dk_textColorPicker  = DKColorWithColors([UIColor whiteColor], [UIColor colorWithRed:0.16 green:0.14 blue:0.13 alpha:1]);
                
        [self.label release];
        
        
        self.view = [[UIView alloc]initWithFrame:CGRectMake(15, frame.size.height - 1, frame.size.width - 30, 1)];
        
        [self addSubview:self.view];
        
        self.view.backgroundColor = [UIColor grayColor];
        
        [self.view release];
        
        
            }
    
    return self;
}

@end
